package com.zyy.weather.service;

import com.zyy.weather.dto.SoJsonDTO;
import com.zyy.weather.dto.WeatherDTO;

public interface WeatherService {

    /**
     * 获取天气对象
     *
     * @return
     */
    WeatherDTO getWeatherDTO();

    /**
     * SoJson接口
     *
     * @return
     */
    SoJsonDTO getSoWeather();

    /**
     * 获取每日一句话
     *
     * @return
     */
    String getOneSentence();

    /**
     * 获取月经
     *
     * @return
     */
    String getMenstruation();

    /**
     * 加工返回字符串
     *
     * @param soWeather
     * @param oneSentence
     * @param menstruation
     */
    String getString(SoJsonDTO soWeather, String oneSentence, String menstruation);
}
